package cn.onlineclass.dao;

import cn.onlineclass.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ResourceMapper {
    public int update(OResource oresource);

    public int add(OResource oresource);

    public int del(long id);

    public List<OResource> search(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize);

    public int searchTotal();

    public OResource get(long id);
}
